package com.dt76.smallloanbackenduser.remote.xiaohao;

import com.dt76.smallloanbackenduser.hystrix.xiaohao.LoanProductHystrix;
import com.dt76.smallloanbackenduser.pojo.xiaohao.HLoanProducts;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name="smallloan-backend-service",fallback = LoanProductHystrix.class)
public interface LoanProductRemote {
    @RequestMapping("/xiaohao/HLoanProducts/qryAllHLoanProduct")
    List<HLoanProducts> qryAllHLoanProduct();
}
